package down.xiaoheihe.work.Response;

import down.xiaoheihe.work.Entity.Msg;
import lombok.Data;

@Data
public class MsgR {
    private Integer id;

    private Integer fromId;

    private Integer toId;

    private String content;
    private String image;
    public MsgR (){
    }
    public MsgR (Msg msg){
        id = msg.getId();
        fromId = msg.getFromId();
        toId = msg.getToId();
        content = msg.getContent();
    }
}
